package cn.imvc.app.models;

import org.springframework.data.domain.Page;
import cn.imvc.app.entities.Brand;
import cn.imvc.data.domain.ViewRequest;

public interface BrandModel {

	Page<Brand> find(ViewRequest viewRequest);

	Brand get(int id);

	int save(Brand brand);

	int update(int id, Brand brand);

	String delete(int id);

	void deleteBatch(int[] ids);

}
